console.log(a);
console.log(b);
var a = 1;
var a = 2;//重复声明，不报错，会给忽略
console.log(a);
let b = 1;
// let b = 2;//重复声明，会报错
console.log(b);